@if($model->status == 1)
    @if(\Encore\Admin\Facades\Admin::user()->can('fba.ship'))
        <button data-id="{{ $model->id }}" data-action="confirm" class="btn btn-xs btn-info grid-row-ajax">确认</button>
    @else
        <button disabled="disabled" class="btn btn-xs btn-default">确认</button>
    @endif  
    @if(\Encore\Admin\Facades\Admin::user()->can('fba.upload')) 
        <a data-id="{{ $model->id }}" href="javascript:void(0);" class="btn btn-xs btn-danger grid-row-delete">删除</a> 
    @endif  
@else
    <button disabled="disabled" class="btn btn-xs btn-default">已确认</button>
    @if(\Encore\Admin\Facades\Admin::user()->isRole('administrator')) 
        <a data-id="{{ $model->id }}" href="javascript:void(0);" class="btn btn-xs btn-danger grid-row-delete">删除</a>
    @endif
@endif
